Skip to content

[Example] Use Touchable instead of RectButton#4136

Merged
j-piasecki merged 2 commits into
mainfrom
@jpiasecki/use-touchable-common-app
May 4, 2026
Merged

[Example] Use Touchable instead of RectButton#4136
j-piasecki merged 2 commits into
mainfrom
@jpiasecki/use-touchable-common-app

Conversation

@j-piasecki
Copy link
Copy Markdown
Member

Description

Replaces RectButton with Touchable in the common app

Test plan

Run the app

Copilot AI review requested due to automatic review settings April 30, 2026 07:30
Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Common App’s main example list items to use the v3 Touchable component (from react-native-gesture-handler) instead of RectButton, aligning the app UI with the newer touchable/button APIs.

Changes:

  • Swaps MainScreenItem from RectButton to Touchable and updates prop semantics from enableddisabled.
  • Adds androidRipple / activeUnderlayOpacity configuration for the new Touchable.
  • Disables nested-component ESLint rules for the entire App.tsx module.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/common-app/App.tsx
Comment thread apps/common-app/App.tsx
Copy link
Copy Markdown
Collaborator

@m-bert m-bert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread apps/common-app/App.tsx
@j-piasecki j-piasecki merged commit 9d256ae into main May 4, 2026
3 checks passed
@j-piasecki j-piasecki deleted the @jpiasecki/use-touchable-common-app branch May 4, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants